<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>src/vfs/fish/fishdef.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/src.html'>src</a>/<a href='../files/src--vfs.html'>vfs</a>/<a href='../files/src--vfs--fish.html'>fish</a>/fishdef.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/<a href='../files/src--vfs.html'>vfs</a>/<a href='../files/src--vfs--fish.html'>fish</a>/fishdef.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 src/vfs/fish/fishdef.h'  /> */</em>
<hr />
<h2 class='header'><a href='src--vfs--fish--fish.c.html#L78' title='Included from 78 in src/vfs/fish/fish.c.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 
<a id='L2' name='L2'></a>   2 <em class='comment'>/**</em>
<a id='L3' name='L3'></a>   3 <em class='comment'> * \file</em>
<a id='L4' name='L4'></a>   4 <em class='comment'> * \brief Header: FISH script defaults</em>
<a id='L5' name='L5'></a>   5 <em class='comment'> */</em>
<a id='L6' name='L6'></a>   6 
<a id='L7' name='L7'></a>   7 <em class='sharp'>#ifndef</em> <a href='../S/src--vfs--fish--fishdef.h.html#L8' title='Defined at 8 in src/vfs/fish/fishdef.h.'>MC__FISH_DEF_H</a>
<a id='L8' name='L8'></a>   8 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fishdef.h.html#L7' title='Referred from 7 in src/vfs/fish/fishdef.h.'>MC__FISH_DEF_H</a>
<a id='L9' name='L9'></a>   9 
<a id='L10' name='L10'></a>  10 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L11' name='L11'></a>  11 
<a id='L12' name='L12'></a>  12 <em class='comment'>/* default 'ls' script */</em>
<a id='L13' name='L13'></a>  13 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L677' title='Referred from 677 in src/vfs/fish/fish.c.'>FISH_LS_DEF_CONTENT</a> ""                                            \
<a id='L14' name='L14'></a>  14 "#LIST /${FISH_FILENAME}\n"                                               \
<a id='L15' name='L15'></a>  15 "export LC_TIME=C\n"                                                      \
<a id='L16' name='L16'></a>  16 "ls -Qlan \"/${FISH_FILENAME}\" 2&gt;/dev/null | grep '^[^cbt]' | (\n"       \
<a id='L17' name='L17'></a>  17 "while read p l u g s m d y n; do\n"                                      \
<a id='L18' name='L18'></a>  18 "    echo \"P$p $u.$g\"\n"                                                \
<a id='L19' name='L19'></a>  19 "    echo \"S$s\"\n"                                                      \
<a id='L20' name='L20'></a>  20 "    echo \"d$m $d $y\"\n"                                                \
<a id='L21' name='L21'></a>  21 "    echo \":$n\"\n"                                                      \
<a id='L22' name='L22'></a>  22 "    echo\n"                                                              \
<a id='L23' name='L23'></a>  23 "done\n"                                                                  \
<a id='L24' name='L24'></a>  24 ")\n"                                                                     \
<a id='L25' name='L25'></a>  25 "ls -Qlan \"/${FISH_FILENAME}\" 2&gt;/dev/null | grep '^[cb]' | (\n"         \
<a id='L26' name='L26'></a>  26 "while read p l u g a i m d y n; do\n"                                    \
<a id='L27' name='L27'></a>  27 "    echo \"P$p $u.$g\"\n"                                                \
<a id='L28' name='L28'></a>  28 "    echo \"E$a$i\"\n"                                                    \
<a id='L29' name='L29'></a>  29 "    echo \"d$m $d $y\"\n"                                                \
<a id='L30' name='L30'></a>  30 "    echo \":$n\"\n"                                                      \
<a id='L31' name='L31'></a>  31 "    echo\n"                                                              \
<a id='L32' name='L32'></a>  32 "done\n"                                                                  \
<a id='L33' name='L33'></a>  33 ")\n"                                                                     \
<a id='L34' name='L34'></a>  34 "echo \"### 200\"\n"
<a id='L35' name='L35'></a>  35 
<a id='L36' name='L36'></a>  36 <em class='comment'>/* default file exisits script */</em>
<a id='L37' name='L37'></a>  37 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L680' title='Referred from 680 in src/vfs/fish/fish.c.'>FISH_EXISTS_DEF_CONTENT</a> ""                                        \
<a id='L38' name='L38'></a>  38 "#ISEXISTS $FISH_FILENAME\n"                                              \
<a id='L39' name='L39'></a>  39 "ls -l \"/${FISH_FILENAME}\" &gt;/dev/null 2&gt;/dev/null\n"                    \
<a id='L40' name='L40'></a>  40 "echo '### '$?\n"
<a id='L41' name='L41'></a>  41 
<a id='L42' name='L42'></a>  42 <em class='comment'>/* default 'mkdir' script */</em>
<a id='L43' name='L43'></a>  43 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L683' title='Referred from 683 in src/vfs/fish/fish.c.'>FISH_MKDIR_DEF_CONTENT</a> ""                                         \
<a id='L44' name='L44'></a>  44 "#MKD $FISH_FILENAME\n"                                                   \
<a id='L45' name='L45'></a>  45 "if mkdir \"/${FISH_FILENAME}\" 2&gt;/dev/null; then\n"                      \
<a id='L46' name='L46'></a>  46 "    echo \"### 000\"\n"                                                  \
<a id='L47' name='L47'></a>  47 "else\n"                                                                  \
<a id='L48' name='L48'></a>  48 "    echo \"### 500\"\n"                                                  \
<a id='L49' name='L49'></a>  49 "fi\n"
<a id='L50' name='L50'></a>  50 
<a id='L51' name='L51'></a>  51 <em class='comment'>/* default 'unlink' script */</em>
<a id='L52' name='L52'></a>  52 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L686' title='Referred from 686 in src/vfs/fish/fish.c.'>FISH_UNLINK_DEF_CONTENT</a> ""                                        \
<a id='L53' name='L53'></a>  53 "#DELE $FISH_FILENAME\n"                                                  \
<a id='L54' name='L54'></a>  54 "if rm -f \"/${FISH_FILENAME}\" 2&gt;/dev/null; then\n"                      \
<a id='L55' name='L55'></a>  55 "    echo \"### 000\"\n"                                                  \
<a id='L56' name='L56'></a>  56 "else\n"                                                                  \
<a id='L57' name='L57'></a>  57 "    echo \"### 500\"\n"                                                  \
<a id='L58' name='L58'></a>  58 "fi\n"
<a id='L59' name='L59'></a>  59 <em class='comment'>/* default 'chown' script */</em>
<a id='L60' name='L60'></a>  60 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L689' title='Referred from 689 in src/vfs/fish/fish.c.'>FISH_CHOWN_DEF_CONTENT</a> ""                                           \
<a id='L61' name='L61'></a>  61 "#CHOWN $FISH_FILEOWNER:$FISH_FILEGROUP $FISH_FILENAME\n"                   \
<a id='L62' name='L62'></a>  62 "if chown ${FISH_FILEOWNER}:${FISH_FILEGROUP} \"/${FISH_FILENAME}\"; then\n"\
<a id='L63' name='L63'></a>  63 "    echo \"### 000\"\n"                                                    \
<a id='L64' name='L64'></a>  64 "else\n"                                                                    \
<a id='L65' name='L65'></a>  65 "    echo \"### 500\"\n"                                                    \
<a id='L66' name='L66'></a>  66 "fi\n"
<a id='L67' name='L67'></a>  67 
<a id='L68' name='L68'></a>  68 <em class='comment'>/* default 'chmod' script */</em>
<a id='L69' name='L69'></a>  69 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L692' title='Referred from 692 in src/vfs/fish/fish.c.'>FISH_CHMOD_DEF_CONTENT</a> ""                                           \
<a id='L70' name='L70'></a>  70 "#CHMOD $FISH_FILEMODE $FISH_FILENAME\n"                                    \
<a id='L71' name='L71'></a>  71 "if chmod ${FISH_FILEMODE} \"/${FISH_FILENAME}\" 2&gt;/dev/null; then\n"       \
<a id='L72' name='L72'></a>  72 "    echo \"### 000\"\n"                                                    \
<a id='L73' name='L73'></a>  73 "else\n"                                                                    \
<a id='L74' name='L74'></a>  74 "    echo \"### 500\"\n"                                                    \
<a id='L75' name='L75'></a>  75 "fi\n"
<a id='L76' name='L76'></a>  76 
<a id='L77' name='L77'></a>  77 <em class='comment'>/* default 'utime' script */</em>
<a id='L78' name='L78'></a>  78 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L695' title='Referred from 695 in src/vfs/fish/fish.c.'>FISH_UTIME_DEF_CONTENT</a> ""                                                                         \
<a id='L79' name='L79'></a>  79 "#UTIME \"$FISH_TOUCHATIME_W_NSEC\" \"$FISH_TOUCHMTIME_W_NSEC\" $FISH_FILENAME\n"                         \
<a id='L80' name='L80'></a>  80 "if TZ=UTC touch -m -d \"$FISH_TOUCHMTIME_W_NSEC\" \"/${FISH_FILENAME}\" 2&gt;/dev/null &amp;&amp; \\\n"             \
<a id='L81' name='L81'></a>  81 "   TZ=UTC touch -a -d \"$FISH_TOUCHATIME_W_NSEC\" \"/${FISH_FILENAME}\" 2&gt;/dev/null; then\n"             \
<a id='L82' name='L82'></a>  82 "  echo \"### 000\"\n"                                                                                    \
<a id='L83' name='L83'></a>  83 "elif TZ=UTC touch -m -t $FISH_TOUCHMTIME \"/${FISH_FILENAME}\" 2&gt;/dev/null &amp;&amp; \\\n"                      \
<a id='L84' name='L84'></a>  84 "     TZ=UTC touch -a -t $FISH_TOUCHATIME \"/${FISH_FILENAME}\" 2&gt;/dev/null; then\n"                      \
<a id='L85' name='L85'></a>  85 "  echo \"### 000\"\n"                                                                                    \
<a id='L86' name='L86'></a>  86 "elif [ -n \"$FISH_HAVE_PERL\" ] &amp;&amp; \\\n"                                                                 \
<a id='L87' name='L87'></a>  87 "   perl -e 'utime '$FISH_FILEATIME','$FISH_FILEMTIME',@ARGV;' \"/${FISH_FILENAME}\" 2&gt;/dev/null; then\n" \
<a id='L88' name='L88'></a>  88 "  echo \"### 000\"\n"                                                                                    \
<a id='L89' name='L89'></a>  89 "else\n"                                                                                                  \
<a id='L90' name='L90'></a>  90 "  echo \"### 500\"\n"                                                                                    \
<a id='L91' name='L91'></a>  91 "fi\n"
<a id='L92' name='L92'></a>  92 
<a id='L93' name='L93'></a>  93 
<a id='L94' name='L94'></a>  94 <em class='comment'>/* default 'rmdir' script */</em>
<a id='L95' name='L95'></a>  95 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L698' title='Referred from 698 in src/vfs/fish/fish.c.'>FISH_RMDIR_DEF_CONTENT</a> ""                                           \
<a id='L96' name='L96'></a>  96 "#RMD $FISH_FILENAME\n"                                                     \
<a id='L97' name='L97'></a>  97 "if rmdir \"/${FISH_FILENAME}\" 2&gt;/dev/null; then\n"                        \
<a id='L98' name='L98'></a>  98 "   echo \"### 000\"\n"                                                     \
<a id='L99' name='L99'></a>  99 "else\n"                                                                    \
<a id='L100' name='L100'></a> 100 "   echo \"### 500\"\n"                                                     \
<a id='L101' name='L101'></a> 101 "fi\n"
<a id='L102' name='L102'></a> 102 
<a id='L103' name='L103'></a> 103 <em class='comment'>/* default 'ln -s' symlink script */</em>
<a id='L104' name='L104'></a> 104 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L700' title='Referred from 700 in src/vfs/fish/fish.c.'>FISH_LN_DEF_CONTENT</a> ""                                              \
<a id='L105' name='L105'></a> 105 "#SYMLINK $FISH_FILEFROM $FISH_FILETO\n"                                    \
<a id='L106' name='L106'></a> 106 "if ln -s \"/${FISH_FILEFROM}\" \"/${FISH_FILETO}\" 2&gt;/dev/null; then\n"    \
<a id='L107' name='L107'></a> 107 "   echo \"### 000\"\n"                                                     \
<a id='L108' name='L108'></a> 108 "else\n"                                                                    \
<a id='L109' name='L109'></a> 109 "   echo \"### 500\"\n"                                                     \
<a id='L110' name='L110'></a> 110 "fi\n"
<a id='L111' name='L111'></a> 111 
<a id='L112' name='L112'></a> 112 <em class='comment'>/* default 'mv' script */</em>
<a id='L113' name='L113'></a> 113 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L702' title='Referred from 702 in src/vfs/fish/fish.c.'>FISH_MV_DEF_CONTENT</a> ""                                              \
<a id='L114' name='L114'></a> 114 "#RENAME $FISH_FILEFROM $FISH_FILETO\n"                                     \
<a id='L115' name='L115'></a> 115 "if mv \"/${FISH_FILEFROM}\" \"/${FISH_FILETO}\" 2&gt;/dev/null; then\n"       \
<a id='L116' name='L116'></a> 116 "   echo \"### 000\"\n"                                                     \
<a id='L117' name='L117'></a> 117 "else\n"                                                                    \
<a id='L118' name='L118'></a> 118 "   echo \"### 500\"\n"                                                     \
<a id='L119' name='L119'></a> 119 "fi\n"
<a id='L120' name='L120'></a> 120 
<a id='L121' name='L121'></a> 121 <em class='comment'>/* default 'ln' hardlink script */</em>
<a id='L122' name='L122'></a> 122 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L705' title='Referred from 705 in src/vfs/fish/fish.c.'>FISH_HARDLINK_DEF_CONTENT</a> ""                                        \
<a id='L123' name='L123'></a> 123 "#LINK $FISH_FILEFROM $FISH_FILETO\n"                                       \
<a id='L124' name='L124'></a> 124 "if ln \"/${FISH_FILEFROM}\" \"/${FISH_FILETO}\" 2&gt;/dev/null; then\n"       \
<a id='L125' name='L125'></a> 125 "   echo \"### 000\"\n"                                                     \
<a id='L126' name='L126'></a> 126 "else\n"                                                                    \
<a id='L127' name='L127'></a> 127 "   echo \"### 500\"\n"                                                     \
<a id='L128' name='L128'></a> 128 "fi\n"
<a id='L129' name='L129'></a> 129 
<a id='L130' name='L130'></a> 130 <em class='comment'>/* default 'retr'  script */</em>
<a id='L131' name='L131'></a> 131 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L707' title='Referred from 707 in src/vfs/fish/fish.c.'>FISH_GET_DEF_CONTENT</a> ""                                                 \
<a id='L132' name='L132'></a> 132 "export LC_TIME=C\n"                                                            \
<a id='L133' name='L133'></a> 133 "#RETR $FISH_FILENAME\n"                                                        \
<a id='L134' name='L134'></a> 134 "if dd if=\"/${FISH_FILENAME}\" of=/dev/null bs=1 count=1 2&gt;/dev/null ; then\n" \
<a id='L135' name='L135'></a> 135 "    ls -ln \"/${FISH_FILENAME}\" 2&gt;/dev/null | (\n"                            \
<a id='L136' name='L136'></a> 136 "       read p l u g s r\n"                                                     \
<a id='L137' name='L137'></a> 137 "       echo $s\n"                                                              \
<a id='L138' name='L138'></a> 138 "    )\n"                                                                       \
<a id='L139' name='L139'></a> 139 "    echo \"### 100\"\n"                                                        \
<a id='L140' name='L140'></a> 140 "    cat \"/${FISH_FILENAME}\"\n"                                               \
<a id='L141' name='L141'></a> 141 "    echo \"### 200\"\n"                                                        \
<a id='L142' name='L142'></a> 142 "else\n"                                                                        \
<a id='L143' name='L143'></a> 143 "    echo \"### 500\"\n"                                                        \
<a id='L144' name='L144'></a> 144 "fi\n"
<a id='L145' name='L145'></a> 145 
<a id='L146' name='L146'></a> 146 <em class='comment'>/* default 'stor'  script */</em>
<a id='L147' name='L147'></a> 147 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L710' title='Referred from 710 in src/vfs/fish/fish.c.'>FISH_SEND_DEF_CONTENT</a> ""                                          \
<a id='L148' name='L148'></a> 148 "FILENAME=\"/${FISH_FILENAME}\"\n"                                        \
<a id='L149' name='L149'></a> 149 "FILESIZE=${FISH_FILESIZE}\n"                                             \
<a id='L150' name='L150'></a> 150 "#STOR $FILESIZE $FILENAME\n"                                             \
<a id='L151' name='L151'></a> 151 "echo \"### 001\"\n"                                                      \
<a id='L152' name='L152'></a> 152 "{\n"                                                                     \
<a id='L153' name='L153'></a> 153 "    while [ $FILESIZE -gt 0 ]; do\n"                                     \
<a id='L154' name='L154'></a> 154 "        cnt=`expr \\( $FILESIZE + 255 \\) / 256`\n"                      \
<a id='L155' name='L155'></a> 155 "        n=`dd bs=256 count=$cnt | tee -a \"${FILENAME}\" | wc -c`\n"     \
<a id='L156' name='L156'></a> 156 "        FILESIZE=`expr $FILESIZE - $n`\n"                                \
<a id='L157' name='L157'></a> 157 "    done\n"                                                              \
<a id='L158' name='L158'></a> 158 "}; echo \"### 200\"\n"
<a id='L159' name='L159'></a> 159 
<a id='L160' name='L160'></a> 160 <em class='comment'>/* default 'appe'  script */</em>
<a id='L161' name='L161'></a> 161 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L713' title='Referred from 713 in src/vfs/fish/fish.c.'>FISH_APPEND_DEF_CONTENT</a> ""                                        \
<a id='L162' name='L162'></a> 162 "FILENAME=\"/${FISH_FILENAME}\"\n"                                        \
<a id='L163' name='L163'></a> 163 "FILESIZE=${FISH_FILESIZE}\n"                                             \
<a id='L164' name='L164'></a> 164 "#APPE $FILESIZE $FILENAME\n"                                             \
<a id='L165' name='L165'></a> 165 "echo \"### 001\"\n"                                                      \
<a id='L166' name='L166'></a> 166 "res=`exec 3&gt;&amp;1\n"                                                        \
<a id='L167' name='L167'></a> 167 "(\n"                                                                     \
<a id='L168' name='L168'></a> 168 "    head -c $FILESIZE -q - || echo DD &gt;&amp;3\n"                             \
<a id='L169' name='L169'></a> 169 ") 2&gt;/dev/null | (\n"                                                     \
<a id='L170' name='L170'></a> 170 "    cat &gt; \"${FILENAME}\"\n"                                             \
<a id='L171' name='L171'></a> 171 "    cat &gt; /dev/null\n"                                                   \
<a id='L172' name='L172'></a> 172 ")`; [ \"$res\" = DD ] &amp;&amp; {\n"                                            \
<a id='L173' name='L173'></a> 173 "    &gt; \"${FILENAME}\"\n"                                                 \
<a id='L174' name='L174'></a> 174 "    while [ $FILESIZE -gt 0 ]\n"                                         \
<a id='L175' name='L175'></a> 175 "    do\n"                                                                \
<a id='L176' name='L176'></a> 176 "       cnt=`expr \\( $FILESIZE + 255 \\) / 256`\n"                       \
<a id='L177' name='L177'></a> 177 "       n=`dd bs=256 count=$cnt | tee -a \"${FILENAME}\" | wc -c`\n"      \
<a id='L178' name='L178'></a> 178 "       FILESIZE=`expr $FILESIZE - $n`\n"                                 \
<a id='L179' name='L179'></a> 179 "    done\n"                                                              \
<a id='L180' name='L180'></a> 180 "}; echo \"### 200\"\n"
<a id='L181' name='L181'></a> 181 
<a id='L182' name='L182'></a> 182 <em class='comment'>/* default 'info'  script */</em>
<a id='L183' name='L183'></a> 183 <em class='sharp'>#define</em> <a href='../S/src--vfs--fish--fish.c.html#L716' title='Referred from 716 in src/vfs/fish/fish.c.'>FISH_INFO_DEF_CONTENT</a> ""                                          \
<a id='L184' name='L184'></a> 184 "export LC_TIME=C\n"                                                      \
<a id='L185' name='L185'></a> 185 "#FISH_HAVE_HEAD         1\n"                                             \
<a id='L186' name='L186'></a> 186 "#FISH_HAVE_SED          2\n"                                             \
<a id='L187' name='L187'></a> 187 "#FISH_HAVE_AWK          4\n"                                             \
<a id='L188' name='L188'></a> 188 "#FISH_HAVE_PERL         8\n"                                             \
<a id='L189' name='L189'></a> 189 "#FISH_HAVE_LSQ         16\n"                                             \
<a id='L190' name='L190'></a> 190 "#FISH_HAVE_DATE_MDYT   32\n"                                             \
<a id='L191' name='L191'></a> 191 "#FISH_HAVE_TAIL        64\n"                                             \
<a id='L192' name='L192'></a> 192 "res=0\n"                                                                 \
<a id='L193' name='L193'></a> 193 "if `echo yes| head -c 1 &gt; /dev/null 2&gt;&amp;1` ; then\n"                      \
<a id='L194' name='L194'></a> 194 "    res=`expr $res + 1`\n"                                               \
<a id='L195' name='L195'></a> 195 "fi\n"                                                                    \
<a id='L196' name='L196'></a> 196 "if `sed --version &gt;/dev/null 2&gt;&amp;1` ; then\n"                             \
<a id='L197' name='L197'></a> 197 "    res=`expr $res + 2`\n"                                               \
<a id='L198' name='L198'></a> 198 "fi\n"                                                                    \
<a id='L199' name='L199'></a> 199 "if `awk --version &gt; /dev/null 2&gt;&amp;1` ; then\n"                            \
<a id='L200' name='L200'></a> 200 "    res=`expr $res + 4`\n"                                               \
<a id='L201' name='L201'></a> 201 "fi\n"                                                                    \
<a id='L202' name='L202'></a> 202 "if `perl -v &gt; /dev/null 2&gt;&amp;1` ; then\n"                                  \
<a id='L203' name='L203'></a> 203 "    res=`expr $res + 8`\n"                                               \
<a id='L204' name='L204'></a> 204 "fi\n"                                                                    \
<a id='L205' name='L205'></a> 205 "if `ls -Q / &gt;/dev/null 2&gt;&amp;1` ; then\n"                                   \
<a id='L206' name='L206'></a> 206 "    res=`expr $res + 16`\n"                                              \
<a id='L207' name='L207'></a> 207 "fi\n"                                                                    \
<a id='L208' name='L208'></a> 208 "dat=`ls -lan / 2&gt;/dev/null | head -n 3 | tail -n 1 | (\n"                \
<a id='L209' name='L209'></a> 209 "    while read p l u g s rec; do\n"                                      \
<a id='L210' name='L210'></a> 210 "        if [ -n \"$g\" ]; then\n"                                        \
<a id='L211' name='L211'></a> 211 "            if [ -n \"$l\" ]; then\n"                                    \
<a id='L212' name='L212'></a> 212 "                echo \"$rec\"\n"                                         \
<a id='L213' name='L213'></a> 213 "            fi\n"                                                        \
<a id='L214' name='L214'></a> 214 "        fi\n"                                                            \
<a id='L215' name='L215'></a> 215 "    done\n"                                                              \
<a id='L216' name='L216'></a> 216 ") | cut -c1 2&gt;/dev/null`\n"                                              \
<a id='L217' name='L217'></a> 217 "r=`echo \"0123456789\"| grep \"$dat\"`\n"                                \
<a id='L218' name='L218'></a> 218 "if [ -z \"$r\" ]; then\n"                                                \
<a id='L219' name='L219'></a> 219 "    res=`expr $res + 32`\n"                                              \
<a id='L220' name='L220'></a> 220 "fi\n"                                                                    \
<a id='L221' name='L221'></a> 221 "if `echo yes| tail -c +1 - &gt; /dev/null 2&gt;&amp;1` ; then\n"                   \
<a id='L222' name='L222'></a> 222 "    res=`expr $res + 64`\n"                                              \
<a id='L223' name='L223'></a> 223 "fi\n"                                                                    \
<a id='L224' name='L224'></a> 224 "echo $res\n"                                                             \
<a id='L225' name='L225'></a> 225 "echo \"### 200\"\n"
<a id='L226' name='L226'></a> 226 
<a id='L227' name='L227'></a> 227 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L228' name='L228'></a> 228 
<a id='L229' name='L229'></a> 229 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L230' name='L230'></a> 230 
<a id='L231' name='L231'></a> 231 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L232' name='L232'></a> 232 
<a id='L233' name='L233'></a> 233 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L234' name='L234'></a> 234 
<a id='L235' name='L235'></a> 235 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L236' name='L236'></a> 236 <em class='sharp'>#endif</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+236 src/vfs/fish/fishdef.h'  /> */</em>
</body>
</html>
